package com.lening.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * 创作时间:2020/8/24 15:42
 * 作者: sunyusong
 */
@RestController
@RequestMapping("test")
public class TestController {

    @RequestMapping("test1")
    public String test1(@RequestParam("username") String username) {
        HashMap hashMap = new HashMap();
        hashMap.put("cece", "cecece");
        return username;
    }

}
